package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.vo.PageResult;

public interface UserLikeApi {
    //相互喜欢
    Long queryEachLoveCount(Long userId);

    //喜欢
    Long queryLoveCount(Long userId);

    //粉丝
    Long queryFansCount(Long userId);

    PageResult queryEachLoveList(Long userId, Integer page, Integer pagesize);

    PageResult queryLoveList(Long userId, Integer page, Integer pagesize);

    PageResult queryFansList(Long userId, Integer page, Integer pagesize);

    PageResult queryVisitorsList(Long userId, Integer page, Integer pagesize);

    //删除粉丝记录
    void delete(Long userId, Long fansId);

    //探花-喜欢
    void addLikeUser(Long userId, Long likeUserId);

    //探花-不喜欢
    void addUnLikeUser(Long userId, Long unLikeUserId);
}
